import request from '@/utils/request'

export default {
    list() {
        return request({
            url:"http://localhost:7788/article/list",
            method:"get"
        })
    },
    deleteArticle(id) {
        return request({
            url:`http://localhost:7788/article/delete?id=${id}`,
            method:"get"
        })
    }
}